/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const staticAnalysisRouter = {
  path: '/staticAnalysis',
  component: Layout,
  redirect: '/staticAnalysis/effectivenessAnalysis',
  name: 'StaticAnalysis',
  meta: {
    title: 'statisticAnalysis',
    icon: 'task',
    roles: ['admin']
  },
  children: [
    {
      path: 'dcMonthlyReportAnalysis',
      component: () => import('@/views/statisticAnalysis/dcMonthlyReportAnalysis/index'),
      name: 'DcMonthlyReportAnalysis',
      meta: {
        title: 'dcMonthlyReportAnalysis',
        icon: 'table',
        roles: ['admin']
      }
    },
    {
      path: 'classOutput',
      component: () => import('@/views/statisticAnalysis/classOutput/index'),
      name: 'ClassOutput',
      meta: {
        title: 'classOutput',
        icon: 'dashboard',
        roles: ['admin']
      }
    },
    {
      path: 'technologicalTask',
      component: () => import('@/views/statisticAnalysis/technologicalTask/index'),
      name: 'TechnologicalTask',
      meta: {
        title: 'technologicalTask',
        icon: 'tree',
        roles: ['admin']
      }
    },
    {
      path: 'capabilityUtilizationRate',
      component: () => import('@/views/statisticAnalysis/capabilityUtilizationRate/index'),
      name: 'CapabilityUtilizationRate',
      meta: {
        title: 'capabilityUtilizationRate',
        icon: 'group',
        roles: ['admin']
      }
    },
    {
      path: 'reportAnalysis',
      component: () => import('@/views/statisticAnalysis/reportAnalysis/index'),
      name: 'ReportAnalysis',
      meta: {
        title: 'reportAnalysis',
        icon: 'example',
        roles: ['admin']
      }
    },
    {
      path: 'trainDynamic',
      component: () => import('@/views/statisticAnalysis/trainDynamic/index'),
      name: 'TrainDynamic',
      meta: {
        title: 'trainDynamic',
        icon: 'STPStation',
        roles: ['admin']
      }
    },
    {
      path: 'jobTicket',
      component: () => import('@/views/statisticAnalysis/jobTicket/index'),
      name: 'jobTicket',
      meta: {
        title: 'jobTicket',
        icon: 'table',
        roles: ['admin']
      }
    },
    {
      path: 'dcTaskPlanCash',
      component: () => import('@/views/statisticAnalysis/dcTaskPlanCash/index'),
      name: 'DcTaskPlanCash',
      meta: {
        title: 'dcTaskPlanCash',
        icon: 'serverLink',
        roles: ['admin']
      }
    },
    {
      path: 'classPlanCash',
      component: () => import('@/views/statisticAnalysis/classPlanCash/index'),
      name: 'ClassPlanCash',
      meta: {
        title: 'classPlanCash',
        icon: 'device',
        roles: ['admin']
      }
    },
    {
      path: 'midStopTimeIndicator',
      component: () => import('@/views/statisticAnalysis/midStopTimeIndicator/index'),
      name: 'MidStopTimeIndicator',
      meta: {
        title: 'midStopTimeIndicator',
        icon: 'peoples',
        roles: ['admin']
      }
    },
    {
      path: 'trainRunningTrajectory',
      component: () => import('@/views/statisticAnalysis/trainRunningTrajectory/index'),
      name: 'TrainRunningTrajectory',
      meta: {
        title: 'trainRunningTrajectory',
        icon: 'task',
        roles: ['admin']
      }
    },
    {
      path: 'exHaust',
      component: () => import('@/views/statisticAnalysis/exHaust/index'),
      name: 'exHaust',
      meta: {
        title: 'exHaust',
        icon: 'task',
        roles: ['admin']
      }
    }
    //,
    // {
    //   path: 'effectivenessAnalysis',
    //   component: () => import('@/views/statisticAnalysis/effectivenessAnalysis/index'),
    //   name: 'EffectivenessAnalysis',
    //   meta: {
    //     title: 'effectivenessAnalysis',
    //     icon: 'task',
    //     roles: ['admin']
    //   }
    // },
    // {
    //   path: 'workloadAnalysis',
    //   component: () => import('@/views/statisticAnalysis/workloadAnalysis/index'),
    //   name: 'WorkloadAnalysis',
    //   meta: {
    //     title: 'workloadAnalysis',
    //     icon: 'task',
    //     roles: ['admin']
    //   }
    // }
  ]
}

export default staticAnalysisRouter
